home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 65.zip / BS1 part 65 / DevPac v3.02b.adf / include / devices / bootblock.i < prev    next >
Text File  |  1991-11-20  |  727b  |  35 lines

  1.     IFND    DEVICES_BOOTBLOCK_I
  2. DEVICES_BOOTBLOCK_I    SET    1
  3. **
  4. **    $Filename: devices/bootblock.i $
  5. **    $Release: 1.3 $
  6. **
  7. **    BootBlock definition: 
  8. **
  9. **    (C) Copyright 1985,1986,1987,1988 Commodore-Amiga, Inc.
  10. **        All Rights Reserved
  11. **
  12.  
  13.  STRUCTURE BB,0
  14.     STRUCT    BB_ID,4        * 4 character identifier
  15.     LONG    BB_CHKSUM    * boot block checksum (balance)
  16.     LONG    BB_DOSBLOCK    * reserved for DOS patch
  17.     LABEL    BB_ENTRY    * bootstrap entry point
  18.     LABEL    BB_SIZE
  19.  
  20. BOOTSECTS    equ    2    * 1K bootstrap
  21.  
  22. BBID_DOS    macro        * something that is bootable
  23.         dc.b    'DOS',0
  24.         endm
  25.  
  26. BBID_KICK    macro        * firmware image disk
  27.         dc.b    'KICK'
  28.         endm
  29.  
  30.  
  31. BBNAME_DOS    EQU    (('D'<<24)!('O'<<16)!('S'<<8))
  32. BBNAME_KICK    EQU    (('K'<<24)!('I'<<16)!('C'<<8)!('K'))
  33.  
  34.     ENDC    ; DEVICES_BOOTBLOCK_I
  35.